Place the command buttons on all forms in the same position and order whenever possible.
Use color to highlight important information.
Don't clutter the forms with too much information.
Keep the data entry forms simple.
2. No, the only objects that can be placed directly on the MDI parent form are the picture box, menus, and any custom control that supports the Align property, such as the Statusbar control.
3. Although both interface styles use a single form as the main application form, the Explorer interface uses many different controls to create the unique display.
Exercise
To create this application, you need two forms in the new project, the MDI parent and one child form with its visible property set to False. The child form should contain only the following code:
Private Sub Form_Resize()
txtInput.Height = ScaleHeight
txtInput.Width = ScaleWidth
End Sub
The MDI parent form will contain a menu, toolbar, and a status bar and should have the code from Listing A.4 included.
LISTING A.4. CHAP7EXE.TXTTHE MDI PARENT CODE FOR THE FINAL EXERCISE.
Dim intFormCtr As Integer
Private Sub Toolbar1_ButtonClick(ByVal Button As ComctlLib.Button)
On Error Resume Next
Select Case Button.Key
Case New
Call mnuFileNew_Click
End Select
End Sub
Private Sub MDIForm_Load()
intFormCtr = 1
frmNote.Caption = NotePad Version & intFormCtr
End Sub
Private Sub mnuFileNew_Click()
Dim NewNote As New frmNote
intFormCtr = intFormCtr + 1
NewNote.Show
NewNote.Caption = NotePad Version & intFormCtr
End Sub